import QtQuick
import QtQuick3D
//自身会不断旋转并上下浮动
Node{
    id:root
    Node {
        id: __materialLibrary__
    }

    property real verticalRange:2
    property alias duration:animation.duration

    eulerRotation.y:360 * timeLine
    y:(Math.sin(timeLine * 2 * Math.PI) + 1) * verticalRange

    property real timeLine:0

    NumberAnimation {
        id:animation
        target: root
        property: "timeLine"
        duration: 3200
        running: true
        loops: NumberAnimation.Infinite
        from:0
        to:1
        easing.type: Easing.Linear
    }


}
